package clsLib;
/**
 * 
 * ��Ʒ��
 *
 */
public class Goods {
	private String Name;
	private double Price;
        private String info;
        
	public Goods(String Name,double Price){
		this.Name = Name;
		this.Price = Price;
                this.info="There's no information about this goods.";
	}

    public Goods(String Name, double Price, String info) {
        this.Name = Name;
        this.Price = Price;
        this.info = info;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
        
        
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public double getPrice() {
		return Price;
	}

	public void setPrice(double price) {
		Price = price;
	}
	

}
